<?php  
$l=$_GET['l'];
$w=$_GET['w'];
$g_url="http://apis.map.qq.com/ws/geocoder/v1/?location=".$l.",".$w."&coord_type=5&key=IYNBZ-YNYWG-IE6QE-IQPNJ-J3HKV-BVBTX";
$curl = curl_init();
curl_setopt($curl, CURLOPT_TIMEOUT, 500);
curl_setopt($curl, CURLOPT_URL, $g_url);
$res = curl_exec($curl);
curl_close($curl);
$data=json_encode($res);
return $data;
?>